//
//  M_PhotoMineDetOnePicTableViewCell.m
//  Model
//
//  Created by apple on 2018/7/13.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "M_PhotoMineDetOnePicTableViewCell.h"

@implementation M_PhotoMineDetOnePicTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.headImgVeiw.layer.cornerRadius = 16;
    self.headImgVeiw.layer.masksToBounds = YES;
    // Initialization code
}
//图片block
-(void)callBackOfPicBlock:(EditBlock)block{
    
    self.block = block;
    
}
- (void)callBackOfPicBlock:(EditBlock)block andnum:(NSInteger)num{
    
    self.block = block;
    self.block(num);
    
    
}
- (IBAction)imgButton:(UIButton *)sender {
    
    self.num = sender.tag;
    if (self.block) {
        self.block(sender);
    }
    
    NSLog(@"```````````````````````%ld", (long)self.num);
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
